﻿using MovingChameLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MovingChameLibrary.ViewModels
{
    public class TourSelectionViewModel : BaseViewModel
    {
        public TourSelectionViewModel(CustomObservableCollection<Tour> items)
        {
            this._items.Clear();
            this._items.AddRange(items);
        }

        private CustomObservableCollection<Tour> _items;
        public CustomObservableCollection<Tour> Items
        {
            get
            {
                if (this._items == null)
                {
                    this._items = new CustomObservableCollection<Tour>();
                }
                return this._items;
            }
        }
    }
}